﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Experts.Framework.Validate
{
    public class RequiredAttribute : AbstractValidateAttribute
    {
        public override bool Validate(object oValue)
        {
            return !(oValue == null || string.IsNullOrWhiteSpace(oValue.ToString()));
        }
    }
}
